package com.kgw.gatewaybluetooth.db;

import android.provider.BaseColumns;

/**
 * Created by jaydenma on 16/6/28.
 */
public class CardTable {

    public static final String table = "t_card";

    public final class StudentColums implements BaseColumns {
        public final static String CARD_NO = "cardNo";
        public final static String IMAGE_PATH = "imagePath";
        public final static String TIME_STAMP = "timestamp";
    }


    public static String getCreateTableSQL() {
        StringBuilder sb = new StringBuilder();
        sb.append("CREATE TABLE IF NOT EXISTS " + table + "(");
        sb.append(StudentColums.CARD_NO + " VARCHAR(50),");
        sb.append(StudentColums.IMAGE_PATH + " VARCHAR(200),");
        sb.append(StudentColums.TIME_STAMP + " VARCHAR(50)");
        sb.append(");");
//        LogUtil.d(DefaultConsts.TAG, table + ":" + sb.toString());
        return sb.toString();
    }
}
